package com.itheima.mapper;

import com.itheima.domain.User;

import java.util.List;

public interface UserMapper {
    //1.实现遍历所有
    List<User> findAll();

    //2.通过名字查询
    List<User> findByName(String name);
    List<User> findByName2(List list);
}
